package reit.ass3;


/**
 * The Class DamageReport.
 */
class DamageReport {

	/** The asset. */
	private Asset fAsset;

	/** The damage to be done. */
	private final float fDamageToBeDone;

	/**
	 * Instantiates a new damage report.
	 *
	 * @param asset the asset
	 * @param combinedDamage the combined damage
	 */
	public DamageReport(final Asset asset, final float combinedDamage){
		this.fAsset = asset;
		this.fDamageToBeDone = combinedDamage;
	}

	/**
	 * Gets the damage to be done.
	 *
	 * @return the fDamageToBeDone
	 */
	public float getDamageToBeDone() {
		return fDamageToBeDone;
	}

	/**
	 * Gets the asset.
	 *
	 * @return the asset
	 */
	public synchronized Asset getAsset(){
		return fAsset;
	}


}
